package bean;

import protoClass.AppProtocolbuf;

public class SSTAppVoiceHeartReq {
	private String userId;
	private String callId;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getCallId() {
		return callId;
	}
	public void setCallId(String callId) {
		this.callId = callId;
	}
	
	public byte[] getBytes() {
		AppProtocolbuf.STAppVoiceHeartReq.Builder builder = AppProtocolbuf.STAppVoiceHeartReq
				.newBuilder();
		builder.setCallId(getCallId());
		builder.setUserId(getUserId());

		return builder.build().toByteArray();
	}

}
